package main

import (
	"fmt"
	"os"
	"compress/gzip"
)

func main() {
	pfile,openErr:=os.Open("calist.txt.gz")
	if openErr!=nil { return }
	defer pfile.Close()

	buf:=make([]byte, 32)
	reader,_:=gzip.NewReader(pfile)
	for {
		n,err:=reader.Read(buf)
		if n>0 {
			fmt.Print(string(buf[:n]))
		}
		if err != nil {
			break
		}
	}
}
